package com.my.study.mapper;

import com.my.study.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int deleteByPrimaryKey(String id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insert(UserRole row);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    List<UserRole> selectByPrimaryKey(String userId);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    List<UserRole> selectAll();

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKey(UserRole row);
}